import java.util.Scanner;

public class PP53
{
public static void main(String[] args)
{
int num1;
int x = 0;//0
int y = 0;//y oushu
int z = 0;//jishu

Scanner scan = new Scanner(System.in);

System.out.println("Please enter a number: ");
num1 = scan.nextInt();

while(num1 != 0)
{
if (num1%10 ==0)
x++;

else
if((num1%10)%2==0)
y++;

else
if((num1%10)%2 !=0)
z++;
num1 = num1/10;

}
System.out.println("Odd number: " + z );
System.out.println("Even number: " + y);
System.out.println("Zero digital: " + x);
}
}
